package com.gin.no_gay_alliance.fragment.config;

import com.gin.no_gay_alliance.adpter.emote.EmoteCategoryAdapter;
import com.gin.no_gay_alliance.databinding.FragmentConfigEmoteBinding;
import com.gin.no_gay_alliance.fragment.base.BaseBindingFragment;
import com.gin.no_gay_alliance.manager.EmoteManager;

/**
 * 表情包管理
 *
 * @author : ginstone
 * @version : v1.0.0
 * @since : 2023/8/30 11:43
 **/

public class ConfigEmoteFragment extends BaseBindingFragment<FragmentConfigEmoteBinding> {
    @Override
    protected void onCreateView() {
        EmoteManager.getEmoteCategories(false, categories -> ui(() -> b.recyclerView.setAdapter(new EmoteCategoryAdapter(requireContext(), categories))));
    }

}